<!-- top -->
<header class="top-nav">
    <div class="top-nav-inner">
        <div class="nav-header">
            <button type="button" class="navbar-toggle pull-left sidebar-toggle" id="sidebarToggleSM">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>

            <!--<ul class="nav-notification pull-right">-->
                <!--<li>-->
                    <!--<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog fa-lg"></i></a>-->
                    <!--<span class="badge badge-danger bounceIn">1</span>-->
                    <!--<ul class="dropdown-menu dropdown-sm pull-right user-dropdown">-->
                        <!--<li>-->
                            <!--<a href="javascript:;" data-toggle="modal" data-target="#myModal">修改密码</a>-->
                        <!--</li>-->
                        <!--<li>-->
                            <!--<a href="{:U('User/logout')}">退出</a>-->
                        <!--</li>-->
                    <!--</ul>-->
                <!--</li>-->
            <!--</ul>-->

            <a href="{:U('Task/index')}" class="brand row">
                <img src="__IMG__/logo2.jpg" style="float:left;margin-top:10px"><span class="brand-name"style="float:left" >科技查新机构中心</span>
            </a>
        </div>
        <div class="nav-container">
            <button type="button" class="navbar-toggle pull-left sidebar-toggle" id="sidebarToggleLG">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <div class="pull-right m-right-sm">
                <div class="user-block hidden-xs">
                    <a href="#" id="userToggle" data-toggle="dropdown">
                        <i class="fa fa-users" style="color:#009d93"></i>
                        <div class="user-detail inline-block">
                            {:session('user_auth.username')}
                            <i class="fa fa-angle-down"></i>
                        </div>
                    </a>
                    <div class="panel border dropdown-menu user-panel">
                        <div class="panel-body paddingTB-sm">
                            <ul>
                                <li>
                                    <!--<a href="#" onclick="$('#myModal4').modal('show')">-->
                                        <!--<i class="fa fa-edit fa-lg "></i><span class="m-left-xs" onclick="showInfo_user()">个人资料</span>-->
                                    <!--</a>-->
                                    <a href="#" data-toggle="modal" data-target="#myModal">
                                        <i class="fa fa-edit fa-lg"></i><span class="m-left-xs">修改密码</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="{:U('Public/logout')}">
                                        <i class="fa fa-power-off fa-lg"></i><span class="m-left-xs">退出</span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <!--<ul class="nav-notification">-->
                    <!--<li><a href="{:U('Desk/index')}"  title="主页" target="_blank"><i class="fa fa-home fa-lg" style="font-size:1.5em"></i>&nbsp;&nbsp;委托主页</a></li>-->
                <!--</ul>-->
            </div>
        </div>
    </div><!-- ./top-nav-inner -->
</header>

<!--修改密码弹框  start-->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"  style="margin-top: 80px">
    <div class="modal-dialog chery_dialog" role="document">
        <div class="modal-content" style="width: 520px;">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">修改密码</h4>
            </div>
            <form   action="{:U('Public/changePwd')}" method="post" class="form-horizontal2">
                <div class="modal-body" style="padding-left:70px;">
                    <div class="right-panel-main">
                        <div class="down-x">
                            <div style="display:none" id="mimaxiugai1" class="error">&nbsp&nbsp请输入原始密码</div>
                            <div style="display:none" id="mimaxiugai2" class="error">&nbsp&nbsp请输入新密码</div>
                            <div style="display:none" id="mimaxiugai3" class="error">&nbsp&nbsp请输入确认密码</div>
                            <div style="display:none" id="mimaxiugai4" class="error">&nbsp&nbsp新密码与原始密码相同，请重新填写</div>
                            <div style="display:none" id="mimaxiugai5" class="error">&nbsp&nbsp新密码和确认密码不同，请重新填写</div>
                            <p class="w-p1" style="width: 60px;display: inline-block;float: left;text-align: left;line-height: 34px;height: 34px;">原始密码</p>
                            <input type="password" class="form-control" id="oldpassword" placeholder="" name="code" style="width: 300px;float: left;">
                        </div>
                        <div class="clear"></div>
                        <div class="down-x">
                            <p class="w-p1" style="width: 60px;display: inline-block;float: left;text-align: left;line-height: 34px;height: 34px;">新密码</p>
                            <input type="password" class="form-control" id="password" placeholder="" name="password" style="width: 300px;float: left;">
                        </div>
                        <div class="clear"></div>
                        <div class="down-x">
                            <p class="w-p1" style="width: 60px;display: inline-block;float: left;text-align: left;line-height: 34px;height: 34px;">确认密码</p>
                            <input type="password" class="form-control" id="repassword" placeholder="" name="repassword" style="width: 300px;float: left;">
                        </div>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="modal-footer" style="text-align:center">
                    <button type="submit" class="action-button ajax-post" target-form="form-horizontal2" >确认修改</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--修改密码弹框  end-->

<script type="text/javascript">
    (function(){
        var ThinkPHP = window.Think = {
            "ROOT"   : "__ROOT__", //当前网站地址
            "APP"    : "__APP__", //当前项目地址
            "PUBLIC" : "__PUBLIC__", //项目公共目录地址
            "DEEP"   : "{:C('URL_PATHINFO_DEPR')}", //PATHINFO分割符
            "MODEL"  : ["{:C('URL_MODEL')}", "{:C('URL_CASE_INSENSITIVE')}", "{:C('URL_HTML_SUFFIX')}"],
            "VAR"    : ["{:C('VAR_MODULE')}", "{:C('VAR_CONTROLLER')}", "{:C('VAR_ACTION')}"]
        }
    })();
</script>
<script src="__JS__/think.js"></script>
<block name="script"></block>
